package com.vito.oa.email.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.vito.base.authoriza.model.PageInfo;

public class OaEmailMessage extends PageInfo implements Serializable{
	
	private static final long serialVersionUID = 2240794278953207889L;

	private List<Map<String, String>> toAddressList;
	
	private List<Map<String, String>> ccAddressList;
	
	private List<Map<String, String>> bccAddressList;
	
	private List<Map<String, String>> fromAddressList;
	
	/**
	 * 原邮件附件
	 */
	private List<Map<String, Object>> oldAttachFiles;
	/**
	 * 主题
	 */
	private String subject;
	
	private String emailText;
	
	//发送时间
	private String sendDate;
	
	private Long number;
	
	//是否包含附件
	private boolean containAttachment;
	//邮件总数
	private int messageCount;
	//未读邮件
	private int unReadMessageCount;
	//新邮件
	private int newMessageCount;
	//已删除邮件
	private int delMessageCount;
	//查看附件
	private List<Map<String, Object>> fileList;
	
	//已读未读
	private boolean seenFlag;
	
	//设置优先级(1:紧急   3:普通    5:低)
	private String priority;
	//需要回执
	private boolean replyTo;
	//是否保存已发信息
	private boolean saveSend;
	
	//邮件想类型 1、收件箱 2、发件箱、3草稿箱
	private int folderType;
	
	/**0未读1已读*/
	private Integer readFlag;
	
	private String fromAddress;
	
	private String fromPersonal;
	//收件人address
	private String recipientAddress;
	//收件人名
	private String recipientPersonal;
	
	private String sendDateStart;
	
	private String sendDateEnd;
	
	private String receivedDate;
	
	private String receivedDateStart;
	
	private String receivedDateEnd;
	
	private String keywords;
	/**
	 * 检索位置 1主题， 2 正文
	 */
	private Integer position;

	public List<Map<String, Object>> getOldAttachFiles() {
		return oldAttachFiles;
	}

	public void setOldAttachFiles(List<Map<String, Object>> oldAttachFiles) {
		this.oldAttachFiles = oldAttachFiles;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getEmailText() {
		return emailText;
	}

	public void setEmailText(String emailText) {
		this.emailText = emailText;
	}

	public String getSendDate() {
		return sendDate;
	}

	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}

	public boolean isContainAttachment() {
		return containAttachment;
	}

	public void setContainAttachment(boolean containAttachment) {
		this.containAttachment = containAttachment;
	}

	public int getMessageCount() {
		return messageCount;
	}

	public void setMessageCount(int messageCount) {
		this.messageCount = messageCount;
	}

	public int getUnReadMessageCount() {
		return unReadMessageCount;
	}

	public void setUnReadMessageCount(int unReadMessageCount) {
		this.unReadMessageCount = unReadMessageCount;
	}

	public int getNewMessageCount() {
		return newMessageCount;
	}

	public void setNewMessageCount(int newMessageCount) {
		this.newMessageCount = newMessageCount;
	}

	public int getDelMessageCount() {
		return delMessageCount;
	}

	public void setDelMessageCount(int delMessageCount) {
		this.delMessageCount = delMessageCount;
	}

	public List<Map<String, Object>> getFileList() {
		return fileList;
	}

	public void setFileList(List<Map<String, Object>> fileList) {
		this.fileList = fileList;
	}

	public boolean isSeenFlag() {
		return seenFlag;
	}

	public void setSeenFlag(boolean seenFlag) {
		this.seenFlag = seenFlag;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public boolean isReplyTo() {
		return replyTo;
	}

	public void setReplyTo(boolean replyTo) {
		this.replyTo = replyTo;
	}

	public boolean isSaveSend() {
		return saveSend;
	}

	public void setSaveSend(boolean saveSend) {
		this.saveSend = saveSend;
	}

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public int getFolderType() {
		return folderType;
	}

	public void setFolderType(int folderType) {
		this.folderType = folderType;
	}

	public List<Map<String, String>> getToAddressList() {
		return toAddressList;
	}

	public void setToAddressList(List<Map<String, String>> toAddressList) {
		this.toAddressList = toAddressList;
	}

	public List<Map<String, String>> getCcAddressList() {
		return ccAddressList;
	}

	public void setCcAddressList(List<Map<String, String>> ccAddressList) {
		this.ccAddressList = ccAddressList;
	}

	public List<Map<String, String>> getBccAddressList() {
		return bccAddressList;
	}

	public void setBccAddressList(List<Map<String, String>> bccAddressList) {
		this.bccAddressList = bccAddressList;
	}

	public List<Map<String, String>> getFromAddressList() {
		return fromAddressList;
	}

	public void setFromAddressList(List<Map<String, String>> fromAddressList) {
		this.fromAddressList = fromAddressList;
	}

	public Integer getReadFlag() {
		return readFlag;
	}

	public void setReadFlag(Integer readFlag) {
		this.readFlag = readFlag;
	}

	public String getFromAddress() {
		return fromAddress;
	}

	public void setFromAddress(String fromAddress) {
		this.fromAddress = fromAddress;
	}

	public String getFromPersonal() {
		return fromPersonal;
	}

	public void setFromPersonal(String fromPersonal) {
		this.fromPersonal = fromPersonal;
	}

	public String getSendDateStart() {
		return sendDateStart;
	}

	public void setSendDateStart(String sendDateStart) {
		this.sendDateStart = sendDateStart;
	}

	public String getSendDateEnd() {
		return sendDateEnd;
	}

	public void setSendDateEnd(String sendDateEnd) {
		this.sendDateEnd = sendDateEnd;
	}

	public String getReceivedDate() {
		return receivedDate;
	}

	public void setReceivedDate(String receivedDate) {
		this.receivedDate = receivedDate;
	}

	public String getReceivedDateStart() {
		return receivedDateStart;
	}

	public void setReceivedDateStart(String receivedDateStart) {
		this.receivedDateStart = receivedDateStart;
	}

	public String getReceivedDateEnd() {
		return receivedDateEnd;
	}

	public void setReceivedDateEnd(String receivedDateEnd) {
		this.receivedDateEnd = receivedDateEnd;
	}

	public String getRecipientAddress() {
		return recipientAddress;
	}

	public void setRecipientAddress(String recipientAddress) {
		this.recipientAddress = recipientAddress;
	}

	public String getRecipientPersonal() {
		return recipientPersonal;
	}

	public void setRecipientPersonal(String recipientPersonal) {
		this.recipientPersonal = recipientPersonal;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public Integer getPosition() {
		return position;
	}

	public void setPosition(Integer position) {
		this.position = position;
	}
	
}
